﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;

namespace TyMES.TemporaryClass
{
    [Table("T_TrayBindings")]
    public class TrayBinding : BasePoco
    {
        [StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string TrayCode { get; set; }

        [StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string VirtualSN { get; set; }

        [StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string OrderCode { get; set; }

        [StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string ScheduleCode { get; set; }

        [StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
        public bool IsValid { get; set; }
    }
}
